<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');
Route::get('/home/me', 'HomeController@me')->name('home.me');
Route::get('/home/groupMembers', 'HomeController@groupMembers')->name('home.groupMembers');
Route::post('/home/update_sign', 'HomeController@update_sign')->name('home.update_sign');
Route::post('/home/init', 'HomeController@init');
Route::post('/home/say', 'HomeController@say');
Route::post('/home/chat_log', 'HomeController@chat_log')->name('home.chat_log');
Route::post('/home/offline_message', 'HomeController@offline_message')->name('home.offline_message');
Route::post('/home/change_stauts', 'HomeController@change_stauts')->name('home.change_stauts');
Route::post('/home/ping', 'HomeController@ping')->name('home.ping');
